Release 10.1A: OpenEdge Development:
Internationalizing Applications


Printers

To determine the code page a printer uses, check the documentation that comes with the printer and with the operating system.

You can also choose several characters from the code page you think the printer uses and determine the numeric values for those characters. Start OpenEdge with -cpprint set to undefined, then run the following code fragment:

DEFINE VARIABLE i AS INTEGER.
OUTPUT TO PRINTER NO-MAP.
REPEAT i = 1 to 255:
    DISPLAY i CHR(i).
END.
OUTPUT CLOSE. 

Examine the output and compare it with likely code pages, or try different settings of -cpprint until the output is correct.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095